package net.betou.cms.dao.main.impl;

import net.betou.cms.dao.main.CmsSiteCompanyDao;
import net.betou.cms.entity.main.CmsSiteCompany;
import net.betou.common.hibernate3.HibernateBaseDao;

import org.springframework.stereotype.Repository;

@Repository
public class CmsSiteCompanyDaoImpl extends HibernateBaseDao< CmsSiteCompany, Integer > implements CmsSiteCompanyDao{

	public CmsSiteCompany save( CmsSiteCompany bean ) {
		getSession( ).save( bean );
		return bean;
	}

	@Override
	protected Class< CmsSiteCompany > getEntityClass( ) {
		return CmsSiteCompany.class;
	}
}